import 'package:flutter/cupertino.dart';
import 'package:flutter_demo/src/page/Basic/index.dart';
import 'package:flutter_demo/src/page/ButtonPage/index.dart';
import 'package:flutter_demo/src/page/Container/index.dart' as ContainerPage;
import 'package:flutter_demo/src/page/FormPage/index.dart';
import 'package:flutter_demo/src/page/ImagePage/index.dart';
import 'package:flutter_demo/src/page/Layout/index.dart';
import 'package:flutter_demo/src/page/Scroll/index.dart';
import 'package:flutter_demo/src/page/TextPage/index.dart';
import 'package:flutter_demo/src/page/Tools/index.dart';

Map routers = <String, WidgetBuilder>{
  '/basic':(BuildContext context) => Basic(),
  '/layout':(BuildContext context) => Layout(),
  '/container':(BuildContext context) => ContainerPage.Container(),
  '/scroll':(BuildContext context) => Scroll(),
  '/tools':(BuildContext context) => Tools(),

  '/TextPage':(BuildContext context) => TextPage(),
  '/ButtonPage': (BuildContext context) => ButtonPage(),
  '/ImagePage':(BuildContext context) => ImagePage(),
  '/FormPage':(BuildContext context) => FormPage(),
};